package com.kehutong.payfees.dto;

import com.kehutong.payfees.enums.SubjectType;
import org.coraframework.orm.Entity;
import org.coraframework.orm.annotation.Column;
import org.coraframework.orm.annotation.Table;

public class AuthEnterprise extends Entity {

	private static final long serialVersionUID = 1714814750889575228L;

	protected AuthEnterprise(String id) {
        super(id);
    }

    @Column(length = 64, comment = "服务商corpid")
    private String corpid;

    @Column(comment = "服务商(公司)编号")
    private String companyNo;

    @Column(comment = "服务商(公司)名称")
    private String companyName;

    @Column(comment = "代理服务商(公司)corpid")
    private String dealerCorpid;

    @Column(comment = "服务商(公司)名称")
    private String dealerCompanyName;

    @Column(length = 64, comment = "应用id(suite_id)")
    private String suiteId;

    @Column(comment = "授权方应用id")
    private String agentid;

    @Column(comment = "授权方应用名字")
    private String agentName;

    @Column(length = 512, comment = "永久授权码")
    private String permanentCode;

    @Column(comment = "授权企业编号")
    private String authCompanyNo;
    
    @Column(length = 64, comment = "授权企业id")
    private String authCorpid;

    @Column(comment = "授权企业简称")
    private String authcorpName	;

    @Column(comment = "授权企业全称")
    private String authCorpFullName	;

    @Column(comment = "企业类型，认证号：verified, 注册号：unverified")
    private String corpType;

    @Column(comment = "认证到期时间")
    private Long verifiedEndTime;

    @Column(comment = "企业类型，1. 企业; 2. 政府以及事业单位; 3. 其他组织, 4.团队号")
    private SubjectType subjectType;

    @Column(comment = "授权管理员的userid")
    private String userId;

    @Column(comment = "授权管理员的userName")
    private String userName;

    @Column(length = 64, comment = "推广包ID")
    private String templateId;

    @Column(comment = "创建企业对应的注册码")
    private String registerCode;

    @Column(comment="逻辑删除")
    private boolean deleted;

    public String getCorpid() {
        return corpid;
    }

    public void setCorpid(String corpid) {
        this.corpid = corpid;
    }

    public String getCompanyNo() {
        return companyNo;
    }

    public void setCompanyNo(String companyNo) {
        this.companyNo = companyNo;
    }

    public String getCompanyName() {
        return companyName;
    }

    public void setCompanyName(String companyName) {
        this.companyName = companyName;
    }

    public String getDealerCorpid() {
        return dealerCorpid;
    }

    public void setDealerCorpid(String dealerCorpid) {
        this.dealerCorpid = dealerCorpid;
    }

    public String getDealerCompanyName() {
        return dealerCompanyName;
    }

    public void setDealerCompanyName(String dealerCompanyName) {
        this.dealerCompanyName = dealerCompanyName;
    }

    public String getSuiteId() {
        return suiteId;
    }

    public void setSuiteId(String suiteId) {
        this.suiteId = suiteId;
    }

    public String getAgentid() {
        return agentid;
    }

    public void setAgentid(String agentid) {
        this.agentid = agentid;
    }

    public String getAgentName() {
        return agentName;
    }

    public void setAgentName(String agentName) {
        this.agentName = agentName;
    }

    public String getPermanentCode() {
        return permanentCode;
    }

    public void setPermanentCode(String permanentCode) {
        this.permanentCode = permanentCode;
    }

    public String getAuthCorpid() {
        return authCorpid;
    }

    public void setAuthCorpid(String authCorpid) {
        this.authCorpid = authCorpid;
    }

    public String getAuthcorpName() {
        return authcorpName;
    }

    public void setAuthcorpName(String authcorpName) {
        this.authcorpName = authcorpName;
    }

    public String getAuthCorpFullName() {
        return authCorpFullName;
    }

    public void setAuthCorpFullName(String authCorpFullName) {
        this.authCorpFullName = authCorpFullName;
    }

    public String getAuthCompanyNo() {
        return authCompanyNo;
    }

    public void setAuthCompanyNo(String authCompanyNo) {
        this.authCompanyNo = authCompanyNo;
    }

    public String getCorpType() {
        return corpType;
    }

    public void setCorpType(String corpType) {
        this.corpType = corpType;
    }

    public Long getVerifiedEndTime() {
        return verifiedEndTime;
    }

    public void setVerifiedEndTime(Long verifiedEndTime) {
        this.verifiedEndTime = verifiedEndTime;
    }

    public SubjectType getSubjectType() {
        return subjectType;
    }

    public void setSubjectType(SubjectType subjectType) {
        this.subjectType = subjectType;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getTemplateId() {
        return templateId;
    }

    public void setTemplateId(String templateId) {
        this.templateId = templateId;
    }

    public String getRegisterCode() {
        return registerCode;
    }

    public void setRegisterCode(String registerCode) {
        this.registerCode = registerCode;
    }

    public boolean isDeleted() {
        return deleted;
    }

    public void setDeleted(boolean deleted) {
        this.deleted = deleted;
    }
}
